using B.S.NewMedical.Api.Read.DTOS.Price;
using B.S.NewMedical.ErrorCode;
using MediatR;
using System.Collections.Generic;

namespace B.S.NewMedical.Api.Read.Application.Command.MobileService.Price
{
    /// <summary>
    /// 获取价格条目命令
    /// </summary>
    public class GetPriceItemsCommand : IRequest<ApiResult<List<PriceItemDto>>>
    {
        /// <summary>
        /// 服务类型ID，可选参数
        /// </summary>
        public int? TypeId { get; set; }

        /// <summary>
        /// 无参构造函数，不指定服务类型时查询所有
        /// </summary>
        public GetPriceItemsCommand()
        {
        }

        /// <summary>
        /// 指定服务类型ID的构造函数
        /// </summary>
        /// <param name="typeId">服务类型ID</param>
        public GetPriceItemsCommand(int typeId)
        {
            TypeId = typeId;
        }
    }
} 